package com.atguigu.gmall.common.constant;

public class RedisConstant {
    public static final String REDIS_SKU_INFO_KEY = "sku:info:";
    public static final String REDIS_SKU_INFO_BITMAP = "bitmap:skuIds";
    public static final String REDIS_SKU_INOF_LOCK_PREFIX = "lock:";
    public static final long REDIS_SKU_SLEEP_TIME = 2000L;
    public static final long REDIS_SKU_INFO_TTL = 15 * 24 * 3600 * 1000;
    public static final String REDIS_CATEGORY_TREE_KEY = "categoryTree";
    public static final String REDIS_SKU_HOTSORE_KEY = "sku:hotscore:";
    public static final String REDIS_USER_INFO_PREFIX = "user:info:";


    public static final Object REDIS_CART_KEY = "cart:info:";
    public static final Integer REDIS_CART_ITEM_MAX_NUM = 4;
    public static final Integer REDIS_CART_SKUNUM = 100;
    public static final String REDIS_REPEAT_TRADENO = "repeat:tradeNo:";
    public static final String REDIS_RETRY_COUNT = "retry:count";
    public static final Object REDIS_SECKILL_CACHE = "seckill:goods:";
    public static final String REDIS_SECKILL_CODE = "seckill:code:";
    public static final String REDIS_SECKILL_ORDER = "seckill:order:";
}
